home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / T / The Survey Editor2.0.HC.cpt / The Survey Editor 2.0 / card_2955.txt < prev    next >
Text File  |  1990-01-30  |  24KB  |  1,067 lines

  1. -- card: 2955 from stack: in.0
  2. -- bmap block id: 3456
  3. -- flags: 4000
  4. -- background id: 2767
  5. -- name: main
  6. ----- HyperTalk script -----
  7.  
  8. On mouseDown
  9.   put the short id of the target into theID
  10.   if theID < 96 or theID > 116 or "button" is not in the name of the target or the hilite of cd btn "label above command" is true
  11.   then exit mouseDown
  12.  
  13.   put lineSelected(theID) into theLINEselected
  14.  
  15.   if line theLINEselected of cd field "survey" is empty then exit mouseDown
  16.  
  17.   If cd fld id 99 is not empty then
  18.     Set the hilite of cd btn id (item 1 of cd fld id 99) to false
  19.   End if
  20.   Put theID into cd fld id 99
  21.   put theLINEselected into item 2 of cd field id 99
  22.  
  23.   Set the hilite of the target to true
  24. End mouseDown
  25.  
  26. on mouseUp
  27.   if the optionKey is down then
  28.     put line 3 of cd field "action" into toDO
  29.     if toDO is in "Add,Insert,Replace,Edit,Delete,Label Above Command"
  30.     then domenu toDO
  31.   end if
  32.   put the short id of the target into theID
  33.   if the number of this cd is 1 then
  34.     if the mouse is down and (theID > 95 and theID < 117) and the hilite of cd btn "label above command" is false
  35.     then domenu "edit"
  36.   end if
  37. end mouseUp
  38.  
  39. Function lineSelected btnID
  40. return (trunc(((scroll of cd field "survey") + (item two of the loc of btn id btnID) - (item two of the rect of cd field "survey")) div the textheight of cd field "survey") + one)
  41. end lineSelected
  42.  
  43.  
  44. -- part 1 (field)
  45. -- low flags: 01
  46. -- high flags: 0007
  47. -- rect: left=1 top=39 right=341 bottom=511
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 0 / 0
  50. -- text alignment: 0
  51. -- font id: 3
  52. -- text size: 9
  53. -- style flags: 8192
  54. -- line height: 15
  55. -- part name: survey
  56. ----- HyperTalk script -----
  57. on mouseWithin
  58.   put cd field "hilite btn" into btnID
  59.   if btnID ‚↠"" then
  60.     set the hilite of cd btn id (item 1 of cd field "hilite btn") to false
  61.   end if
  62.   put "" into cd field "hilite btn"
  63.   pass mouseWithin
  64. end mouseWithin
  65.  
  66.  
  67. -- part 54 (field)
  68. -- low flags: 81
  69. -- high flags: 0002
  70. -- rect: left=445 top=5 right=43 bottom=510
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 0 / 0
  73. -- text alignment: 1
  74. -- font id: 3
  75. -- text size: 9
  76. -- style flags: 0
  77. -- line height: 12
  78. -- part name: action
  79. ----- HyperTalk script -----
  80. on mouseup
  81.   hide me
  82. end mouseup
  83.  
  84.  
  85. -- part 61 (field)
  86. -- low flags: 81
  87. -- high flags: 0002
  88. -- rect: left=172 top=146 right=196 bottom=352
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 1
  92. -- font id: 0
  93. -- text size: 12
  94. -- style flags: 0
  95. -- line height: 20
  96. -- part name: wait
  97. ----- HyperTalk script -----
  98. on mouseUp
  99.   hide me
  100. end mouseUp
  101.  
  102. on mouseWithin
  103.   mouseUp
  104. end mouseWithin
  105.  
  106.  
  107. -- part 68 (button)
  108. -- low flags: 00
  109. -- high flags: 8004
  110. -- rect: left=68 top=1 right=20 bottom=163
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 0 / 0
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: Commands
  119. ----- HyperTalk script -----
  120. on mouseDown
  121.   set the hilite of me to true
  122.   set cursor to arrow
  123.   put "Add,(Insert,(Replace,(Edit,(Delete,(-,Label Above Command" into CommandsMenu
  124.   if the hilite of cd btn "label above command" is false then
  125.     put "Add,Insert,Replace,Edit,Delete,(-,Label Above Command" into CommandsMenu
  126.   else
  127.     put "Add,(Insert,(Replace,(Edit,(Delete,(-,!‚áßLabel Above Command" into CommandsMenu
  128.   end if
  129.  
  130.   put PopUpMenu (CommandsMenu,"",69,20) into theITEM
  131.  
  132.   set the hilite of me to false
  133.  
  134.   if theITEM = 0 then exit mouseDown
  135.   if char 1 of item theITEM of commandsMenu = "!" then
  136.     delete char 1 to 2 of item theITEM of commandsMenu
  137.   end if
  138.  
  139.   put item theITEM of commandsMenu into line 3 of cd field "action"
  140.   domenu (item theITEM of CommandsMenu)
  141. end mouseDown
  142.  
  143.  
  144.  
  145. -- part 63 (button)
  146. -- low flags: 80
  147. -- high flags: E005
  148. -- rect: left=360 top=4 right=18 bottom=511
  149. -- title width / last selected line: 0
  150. -- icon id / first selected line: 0 / 0
  151. -- text alignment: 1
  152. -- font id: 0
  153. -- text size: 12
  154. -- style flags: 8192
  155. -- line height: 16
  156. -- part name: Label Above Command
  157. ----- HyperTalk script -----
  158. on mouseUp
  159.   set cursor to watch
  160.   label_above
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 67 (button)
  166. -- low flags: 00
  167. -- high flags: 8004
  168. -- rect: left=1 top=1 right=20 bottom=67
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 0 / 0
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: Editor
  177. ----- HyperTalk script -----
  178. on mouseDown
  179.   set the hilite of me to true
  180.   set cursor to arrow
  181.   if the hilite of cd btn "label above command" is false then
  182.     put "About...,(-,New,Open...,(-,Save,Save As...,Revert,(-,Print...," & "Print Code...,(-,Show All Code,Show Code of a Line...,(-,Home" into EditorMenu
  183.   else
  184.     put "About...,(-,New,Open...,(-,Save,Save As...,Revert,(-,Print...," & "Print Code...,(-,Show All Code,(Show Code of a Line...,(-,Home" into EditorMenu
  185.   end if
  186.   put PopUpMenu (EditorMenu,"",2,19) into theITEM
  187.  
  188.   set the hilite of me to false
  189.  
  190.   if theITEM = 0 then
  191.     exit mouseDown
  192.   else
  193.     domenu (item theITEM of EditorMenu)
  194.   end if
  195. end mouseDown
  196.  
  197.  
  198.  
  199. -- part 72 (button)
  200. -- low flags: 00
  201. -- high flags: 0000
  202. -- rect: left=10 top=25 right=37 bottom=22
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 21000 / 21000
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: home
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.   set the icon of me to 21000
  214.   go home
  215. end mouseUp
  216.  
  217. on mouseDown
  218.   set the icon of me to 20000
  219. end mouseDown
  220.  
  221. on mouseLeave
  222.   set the icon of me to 21000
  223. end mouseLeave
  224.  
  225.  
  226. -- part 73 (field)
  227. -- low flags: 01
  228. -- high flags: 0001
  229. -- rect: left=221 top=22 right=39 bottom=295
  230. -- title width / last selected line: 0
  231. -- icon id / first selected line: 0 / 0
  232. -- text alignment: 1
  233. -- font id: 0
  234. -- text size: 12
  235. -- style flags: 0
  236. -- line height: 16
  237. -- part name: file
  238.  
  239.  
  240. -- part 75 (field)
  241. -- low flags: 81
  242. -- high flags: 0002
  243. -- rect: left=163 top=146 right=196 bottom=359
  244. -- title width / last selected line: 0
  245. -- icon id / first selected line: 0 / 0
  246. -- text alignment: 1
  247. -- font id: 0
  248. -- text size: 12
  249. -- style flags: 0
  250. -- line height: 20
  251. -- part name: wait2
  252. ----- HyperTalk script -----
  253. on mouseUp
  254.   hide me
  255. end mouseUp
  256.  
  257. on mouseWithin
  258.   mouseUp
  259. end mouseWithin
  260.  
  261.  
  262. -- part 77 (button)
  263. -- low flags: 00
  264. -- high flags: 2000
  265. -- rect: left=165 top=2 right=19 bottom=353
  266. -- title width / last selected line: 0
  267. -- icon id / first selected line: 0 / 0
  268. -- text alignment: 1
  269. -- font id: 3
  270. -- text size: 9
  271. -- style flags: 16640
  272. -- line height: 12
  273. -- part name: © 1990  Pierrot Vachon
  274. ----- HyperTalk script -----
  275. on mouseUp
  276.   domenu "about..."
  277. end mouseUp
  278.  
  279.  
  280.  
  281. -- part 96 (button)
  282. -- low flags: 00
  283. -- high flags: 0000
  284. -- rect: left=2 top=40 right=55 bottom=494
  285. -- title width / last selected line: 0
  286. -- icon id / first selected line: 0 / 0
  287. -- text alignment: 1
  288. -- font id: 0
  289. -- text size: 12
  290. -- style flags: 0
  291. -- line height: 16
  292. -- part name: 
  293.  
  294.  
  295. -- part 122 (field)
  296. -- low flags: 81
  297. -- high flags: 0002
  298. -- rect: left=1 top=21 right=40 bottom=511
  299. -- title width / last selected line: 0
  300. -- icon id / first selected line: 0 / 0
  301. -- text alignment: 1
  302. -- font id: 0
  303. -- text size: 12
  304. -- style flags: 0
  305. -- line height: 16
  306. -- part name: header
  307. ----- HyperTalk script -----
  308. on mouseUp
  309.   lock screen
  310.   hide me
  311.   hide cd field "command # list"
  312.   hide cd field "commandlist"
  313.   hide cd field id 87
  314.   hide cd field id 86
  315. end mouseUp
  316.  
  317.  
  318. -- part 97 (button)
  319. -- low flags: 00
  320. -- high flags: 0000
  321. -- rect: left=2 top=55 right=70 bottom=494
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 0 / 0
  324. -- text alignment: 1
  325. -- font id: 0
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: 
  330.  
  331.  
  332. -- part 98 (button)
  333. -- low flags: 00
  334. -- high flags: 0000
  335. -- rect: left=2 top=70 right=85 bottom=494
  336. -- title width / last selected line: 0
  337. -- icon id / first selected line: 0 / 0
  338. -- text alignment: 1
  339. -- font id: 0
  340. -- text size: 12
  341. -- style flags: 0
  342. -- line height: 16
  343. -- part name: 
  344.  
  345.  
  346. -- part 99 (field)
  347. -- low flags: 81
  348. -- high flags: 0002
  349. -- rect: left=460 top=24 right=38 bottom=509
  350. -- title width / last selected line: 0
  351. -- icon id / first selected line: 0 / 0
  352. -- text alignment: 1
  353. -- font id: 3
  354. -- text size: 9
  355. -- style flags: 0
  356. -- line height: 12
  357. -- part name: hilite btn
  358. ----- HyperTalk script -----
  359. on mouseUp
  360.   hide me
  361. end mouseup
  362.  
  363.  
  364. -- part 100 (button)
  365. -- low flags: 00
  366. -- high flags: 0000
  367. -- rect: left=2 top=85 right=100 bottom=494
  368. -- title width / last selected line: 0
  369. -- icon id / first selected line: 0 / 0
  370. -- text alignment: 1
  371. -- font id: 0
  372. -- text size: 12
  373. -- style flags: 0
  374. -- line height: 16
  375. -- part name: 
  376.  
  377.  
  378. -- part 101 (button)
  379. -- low flags: 00
  380. -- high flags: 0000
  381. -- rect: left=2 top=100 right=115 bottom=494
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: 
  390.  
  391.  
  392. -- part 125 (button)
  393. -- low flags: 00
  394. -- high flags: A004
  395. -- rect: left=355 top=1 right=20 bottom=511
  396. -- title width / last selected line: 0
  397. -- icon id / first selected line: 0 / 0
  398. -- text alignment: 1
  399. -- font id: 0
  400. -- text size: 12
  401. -- style flags: 0
  402. -- line height: 16
  403. -- part name: Window Font
  404. ----- HyperTalk script -----
  405. on mouseDown
  406.  
  407.   set the hilite of me to true
  408.   set cursor to arrow
  409.   if "condense" is not in the textStyle of cd field "survey" then
  410.     put "Change...,(-,Condense" into Menu
  411.   else
  412.     put "Change...,(-,!‚áßCondense" into Menu
  413.   end if
  414.  
  415.   put PopUpMenu (Menu,"",item 1 of the rect of me+1, item 4 of the rect of me) into theITEM
  416.  
  417.   set the hilite of me to false
  418.   if theITEM = 0 then exit mouseDown
  419.  
  420.   if theITEM = 1 then changeFont else toggleCondense
  421. end mouseDown
  422.  
  423. on changeFont
  424.   set cursor to watch
  425.   show cd field id 123
  426.   lock screen
  427.   choose field tool
  428.   click at the loc of cd field "survey"
  429.   domenu "text Style..."
  430.   hide cd field id 123
  431.   choose browse tool
  432.   set the textHeight of cd field "survey" to 15
  433.   set the scroll of cd field "survey" to 0
  434. end changeFont
  435.  
  436. on toggleCondense
  437.   if "condense" is in the textStyle of cd field "survey" then
  438.     set the textStyle of cd field "survey" to "plain"
  439.   else
  440.     set the textStyle of cd field "survey" to "condense"
  441.   end if
  442. end toggleCondense
  443.  
  444.  
  445. -- part 102 (button)
  446. -- low flags: 00
  447. -- high flags: 0000
  448. -- rect: left=2 top=115 right=130 bottom=494
  449. -- title width / last selected line: 0
  450. -- icon id / first selected line: 0 / 0
  451. -- text alignment: 1
  452. -- font id: 0
  453. -- text size: 12
  454. -- style flags: 0
  455. -- line height: 16
  456. -- part name: 
  457.  
  458.  
  459. -- part 86 (field)
  460. -- low flags: 80
  461. -- high flags: 0002
  462. -- rect: left=485 top=1 right=20 bottom=511
  463. -- title width / last selected line: 0
  464. -- icon id / first selected line: 0 / 0
  465. -- text alignment: 1
  466. -- font id: 4
  467. -- text size: 12
  468. -- style flags: 0
  469. -- line height: 16
  470. -- part name: command number
  471. ----- HyperTalk script -----
  472. on enterInField
  473.   returnInField
  474. end enterInField
  475.  
  476. on returnInField
  477.   set cursor to watch
  478.   lock screen
  479.   hide cd field "commandLIST"
  480.   hide me
  481.   hide cd field "label command number"
  482.   hide cd field "header"
  483.   hide cd field "command # list"
  484.   put me+1 into theLINE
  485.   if theLINE < 0 or theLINE > 46 then
  486.     answer "Sorry, not a valid command number."
  487.     exit returnInField
  488.   end if
  489.  
  490.   put line 1 of cd field "action" into action
  491.   if action = "insert" or action ="replace" then
  492.     if action = "insert" then
  493.       put "Please, Click on the line you want "& "to Insert before..." into cd field "action msg"
  494.     else
  495.       put "Please, Click on the line you want "& "to Replace." into cd field "action msg"
  496.     end if
  497.     show cd field "action msg"
  498.     unlock screen with dissolve
  499.     set cursor to plus
  500.     wait until the mouseClick
  501.     put the clickLoc into clicklic
  502.     hide cd field "action msg"
  503.  
  504.     if clicklic is not within the rect of cd field "survey"
  505.     then exit returnInField
  506.     put theLineClicked(clickLic) into thLine
  507.  
  508.     if thLine > number of lines in cd field "survey"
  509.     then exit returnInField
  510.  
  511.     put thLine into line 2 of cd field "action"
  512.   end if
  513.   Command theLINE-1,line theLINE of cd field "commandLIST"
  514. end returnInField
  515.  
  516.  
  517. -- part 103 (button)
  518. -- low flags: 00
  519. -- high flags: 0000
  520. -- rect: left=2 top=130 right=145 bottom=494
  521. -- title width / last selected line: 0
  522. -- icon id / first selected line: 0 / 0
  523. -- text alignment: 1
  524. -- font id: 0
  525. -- text size: 12
  526. -- style flags: 0
  527. -- line height: 16
  528. -- part name: 
  529.  
  530.  
  531. -- part 104 (button)
  532. -- low flags: 00
  533. -- high flags: 0000
  534. -- rect: left=2 top=145 right=160 bottom=494
  535. -- title width / last selected line: 0
  536. -- icon id / first selected line: 0 / 0
  537. -- text alignment: 1
  538. -- font id: 0
  539. -- text size: 12
  540. -- style flags: 0
  541. -- line height: 16
  542. -- part name: 
  543.  
  544.  
  545. -- part 87 (field)
  546. -- low flags: 81
  547. -- high flags: 0002
  548. -- rect: left=355 top=1 right=20 bottom=486
  549. -- title width / last selected line: 0
  550. -- icon id / first selected line: 0 / 0
  551. -- text alignment: 0
  552. -- font id: 0
  553. -- text size: 12
  554. -- style flags: 0
  555. -- line height: 16
  556. -- part name: label command number
  557. ----- HyperTalk script -----
  558. on mouseUp
  559.   send "returnInField" to cd field "command number"
  560. end mouseUp
  561.  
  562.  
  563. -- part 105 (button)
  564. -- low flags: 00
  565. -- high flags: 0000
  566. -- rect: left=2 top=160 right=175 bottom=494
  567. -- title width / last selected line: 0
  568. -- icon id / first selected line: 0 / 0
  569. -- text alignment: 1
  570. -- font id: 0
  571. -- text size: 12
  572. -- style flags: 0
  573. -- line height: 16
  574. -- part name: 
  575.  
  576.  
  577. -- part 106 (button)
  578. -- low flags: 00
  579. -- high flags: 0000
  580. -- rect: left=2 top=175 right=190 bottom=494
  581. -- title width / last selected line: 0
  582. -- icon id / first selected line: 0 / 0
  583. -- text alignment: 1
  584. -- font id: 0
  585. -- text size: 12
  586. -- style flags: 0
  587. -- line height: 16
  588. -- part name: 
  589.  
  590.  
  591. -- part 107 (button)
  592. -- low flags: 00
  593. -- high flags: 0000
  594. -- rect: left=2 top=190 right=205 bottom=494
  595. -- title width / last selected line: 0
  596. -- icon id / first selected line: 0 / 0
  597. -- text alignment: 1
  598. -- font id: 0
  599. -- text size: 12
  600. -- style flags: 0
  601. -- line height: 16
  602. -- part name: 
  603.  
  604.  
  605. -- part 108 (button)
  606. -- low flags: 00
  607. -- high flags: 0000
  608. -- rect: left=2 top=205 right=220 bottom=494
  609. -- title width / last selected line: 0
  610. -- icon id / first selected line: 0 / 0
  611. -- text alignment: 1
  612. -- font id: 3
  613. -- text size: 9
  614. -- style flags: 8192
  615. -- line height: 12
  616. -- part name: 
  617.  
  618.  
  619. -- part 109 (button)
  620. -- low flags: 00
  621. -- high flags: 0000
  622. -- rect: left=2 top=220 right=235 bottom=494
  623. -- title width / last selected line: 0
  624. -- icon id / first selected line: 0 / 0
  625. -- text alignment: 1
  626. -- font id: 0
  627. -- text size: 12
  628. -- style flags: 0
  629. -- line height: 16
  630. -- part name: 
  631.  
  632.  
  633. -- part 110 (button)
  634. -- low flags: 00
  635. -- high flags: 0000
  636. -- rect: left=2 top=235 right=250 bottom=494
  637. -- title width / last selected line: 0
  638. -- icon id / first selected line: 0 / 0
  639. -- text alignment: 1
  640. -- font id: 0
  641. -- text size: 12
  642. -- style flags: 0
  643. -- line height: 16
  644. -- part name: 
  645.  
  646.  
  647. -- part 111 (button)
  648. -- low flags: 00
  649. -- high flags: 0000
  650. -- rect: left=2 top=250 right=265 bottom=494
  651. -- title width / last selected line: 0
  652. -- icon id / first selected line: 0 / 0
  653. -- text alignment: 1
  654. -- font id: 0
  655. -- text size: 12
  656. -- style flags: 0
  657. -- line height: 16
  658. -- part name: 
  659.  
  660.  
  661. -- part 112 (button)
  662. -- low flags: 00
  663. -- high flags: 0000
  664. -- rect: left=2 top=265 right=280 bottom=494
  665. -- title width / last selected line: 0
  666. -- icon id / first selected line: 0 / 0
  667. -- text alignment: 1
  668. -- font id: 0
  669. -- text size: 12
  670. -- style flags: 0
  671. -- line height: 16
  672. -- part name: 
  673.  
  674.  
  675. -- part 113 (button)
  676. -- low flags: 00
  677. -- high flags: 0000
  678. -- rect: left=2 top=280 right=295 bottom=494
  679. -- title width / last selected line: 0
  680. -- icon id / first selected line: 0 / 0
  681. -- text alignment: 1
  682. -- font id: 0
  683. -- text size: 12
  684. -- style flags: 0
  685. -- line height: 16
  686. -- part name: 
  687.  
  688.  
  689. -- part 114 (button)
  690. -- low flags: 00
  691. -- high flags: 0000
  692. -- rect: left=2 top=295 right=310 bottom=494
  693. -- title width / last selected line: 0
  694. -- icon id / first selected line: 0 / 0
  695. -- text alignment: 1
  696. -- font id: 0
  697. -- text size: 12
  698. -- style flags: 0
  699. -- line height: 16
  700. -- part name: 
  701.  
  702.  
  703. -- part 115 (button)
  704. -- low flags: 00
  705. -- high flags: 0000
  706. -- rect: left=2 top=310 right=325 bottom=494
  707. -- title width / last selected line: 0
  708. -- icon id / first selected line: 0 / 0
  709. -- text alignment: 1
  710. -- font id: 0
  711. -- text size: 12
  712. -- style flags: 0
  713. -- line height: 16
  714. -- part name: 
  715.  
  716.  
  717. -- part 116 (button)
  718. -- low flags: 00
  719. -- high flags: 0000
  720. -- rect: left=2 top=325 right=340 bottom=494
  721. -- title width / last selected line: 0
  722. -- icon id / first selected line: 0 / 0
  723. -- text alignment: 1
  724. -- font id: 0
  725. -- text size: 12
  726. -- style flags: 0
  727. -- line height: 16
  728. -- part name: 
  729.  
  730.  
  731. -- part 78 (field)
  732. -- low flags: 81
  733. -- high flags: 0004
  734. -- rect: left=141 top=134 right=191 bottom=383
  735. -- title width / last selected line: 0
  736. -- icon id / first selected line: 0 / 0
  737. -- text alignment: 1
  738. -- font id: 4
  739. -- text size: 12
  740. -- style flags: 0
  741. -- line height: 16
  742. -- part name: command selected
  743. ----- HyperTalk script -----
  744. on mouseWithin
  745.   send mouseUp to cd btn "cancel"
  746. end mouseWithin
  747.  
  748.  
  749.  
  750. -- part 93 (button)
  751. -- low flags: 80
  752. -- high flags: A004
  753. -- rect: left=141 top=188 right=210 bottom=263
  754. -- title width / last selected line: 0
  755. -- icon id / first selected line: 0 / 0
  756. -- text alignment: 1
  757. -- font id: 0
  758. -- text size: 12
  759. -- style flags: 0
  760. -- line height: 16
  761. -- part name: Yes
  762. ----- HyperTalk script -----
  763. on mouseUp
  764.   lock screen
  765.   hide cd btn id 79
  766.   hide cd btn id 94
  767.   hide cd field id 78
  768.   hide me
  769. end mouseUp
  770.  
  771.  
  772.  
  773. -- part 94 (button)
  774. -- low flags: 80
  775. -- high flags: A004
  776. -- rect: left=260 top=188 right=210 bottom=383
  777. -- title width / last selected line: 0
  778. -- icon id / first selected line: 0 / 0
  779. -- text alignment: 1
  780. -- font id: 0
  781. -- text size: 12
  782. -- style flags: 0
  783. -- line height: 16
  784. -- part name: Cancel
  785. ----- HyperTalk script -----
  786. on mouseUp
  787.   lock screen
  788.   hide cd btn id 79
  789.   hide cd btn id 93
  790.   hide cd field id 78
  791.   hide me
  792. end mouseUp
  793.  
  794.  
  795.  
  796. -- part 90 (field)
  797. -- low flags: 81
  798. -- high flags: 0007
  799. -- rect: left=1 top=38 right=341 bottom=42
  800. -- title width / last selected line: 0
  801. -- icon id / first selected line: 0 / 0
  802. -- text alignment: 1
  803. -- font id: 3
  804. -- text size: 9
  805. -- style flags: 256
  806. -- line height: 18
  807. -- part name: command # list
  808. ----- HyperTalk script -----
  809. on mouseUp
  810.   send "mouseup" to cd field id 31
  811. end mouseUp
  812.  
  813.  
  814. -- part 31 (field)
  815. -- low flags: 81
  816. -- high flags: 0007
  817. -- rect: left=24 top=38 right=341 bottom=511
  818. -- title width / last selected line: 0
  819. -- icon id / first selected line: 0 / 0
  820. -- text alignment: 0
  821. -- font id: 3
  822. -- text size: 9
  823. -- style flags: 0
  824. -- line height: 18
  825. -- part name: commandLIST
  826. ----- HyperTalk script -----
  827. on mouseUP
  828.   set cursor to watch
  829.   lock screen
  830.   hide me
  831.   hide cd field "command # list"
  832.   hide cd field "command number"
  833.   hide cd field "label command number"
  834.   hide cd field "header"
  835.   put lineClicked() into theLINE
  836.   put line 1 of cd field "action" into action
  837.   if action = "insert" or action ="replace" then
  838.     put item 2 of cd field id 99 into line 2 of cd field "action"
  839.   end if
  840.   Command theLINE-1,line theLINE of me
  841. end mouseUp
  842.  
  843. on mouseWithin
  844.   set the scroll of cd field "command # list" to the scroll of me
  845.   pass mouseWithin
  846. end mouseWithin
  847.  
  848.  
  849.  
  850.  
  851. -- part 79 (button)
  852. -- low flags: 80
  853. -- high flags: C002
  854. -- rect: left=141 top=116 right=137 bottom=383
  855. -- title width / last selected line: 0
  856. -- icon id / first selected line: 0 / 0
  857. -- text alignment: 1
  858. -- font id: 0
  859. -- text size: 12
  860. -- style flags: 0
  861. -- line height: 16
  862. -- part name: Delete this command?
  863. ----- HyperTalk script -----
  864. on mouseWithin
  865.   send mouseUp to cd btn "cancel"
  866. end mouseWithin
  867.  
  868.  
  869.  
  870. -- part 123 (field)
  871. -- low flags: 81
  872. -- high flags: 0002
  873. -- rect: left=60 top=272 right=324 bottom=452
  874. -- title width / last selected line: 0
  875. -- icon id / first selected line: 0 / 0
  876. -- text alignment: 1
  877. -- font id: 0
  878. -- text size: 12
  879. -- style flags: 0
  880. -- line height: 16
  881. -- part name: 
  882. ----- HyperTalk script -----
  883. on mouseWithin
  884.   hide me
  885. end mouseWithin
  886.  
  887.  
  888. -- part contents for card part 31
  889. ----- text -----
  890. Change all characters in user's last response to UPPER case.
  891. Display the string of characters...
  892. Branch immediatly...
  893. If last input contains the characters, branch to...
  894. If last input was empty, branch to...
  895. Write last input to the scratch file
  896. Append entire scratch file to the end of the response file.
  897. Stop execution of the survey file and return to the last Red Ryder Host menu.
  898. Clear out the scratch file and start the survey file over from the first command.
  899. Get alphanumeric input from the user...
  900. Get alphanumeric input from the user but accepts only the characters "Y" ,"y","N" and "n".
  901. Get a carriage return as input from the user...
  902. Write strings of characters to the scratch file, with a terminating carriage return.
  903. Write strings of characters to the scratch file, with no terminating carriage return.
  904. Raise current caller's time limit for this call only...
  905. Raise the current caller's time limit permanently...
  906. Set the caller's clearance level for this call only...
  907. Set the caller's clearance level permanently...
  908. Stop execution of the survey file and return to the Red Ryder Host menu...
  909. Write the value of the ASCII character x to the response file...
  910. Clear out the scratch file and immediately branches to the command name...
  911. If the user's D/U ratio (in files) is less than number x, branch to the command...
  912. Temporarily sets the current caller's restriction flag number x.
  913. Permanently sets the current caller's restriction flag number x.
  914. Temporarily resets the current caller's restriction flag number x.
  915. Permanently resets the current caller's restriction flag number x.
  916. Display TEXT file. Cancellable (CTRL-C), no prompts...
  917. Display TEXT file. Cancellable, all prompts...
  918. Display TEXT file. Not cancellable, all prompts...
  919. Display TEXT file. Not cancellable, user can pause, resume or cancel but no prompts occur...
  920. Create a Special Scratch File and allocate x accumulators...
  921. Add the number x to the Scratch File accumulator number y...
  922. Add the contents of the Scratch File accumulator number x to Scratch File acc. number y...
  923. Display the string equivalent to Special Scratch File  accumulator number x with a CR...
  924. Display the string equivalent of the .CNT file accumulator number x with a CR...
  925. Display the string equivalent to Special Scratch File  accumulator number x with no CR...
  926. Display the string equivalent of the .CNT file accumulator number x with no CR...
  927. Open the .CNT file and add all the values of the accumulators to those in the .CNT file...
  928. Write the current caller's name to the end of the .CNT file
  929. Branch to a survey if current caller's name appears anywhere in the .CNT file...
  930. Set the value of the Special Scratch File accumulator to a number x...
  931. Display the percentage that .CNT file accumulator x is of .CNT file acc. y with a CR...
  932. Display the percentage that .CNT file accumulator x is of .CNT file acc. y with no CR...
  933. Write the caller's last input to the scratch file with no carriage return.
  934. Append entire scratch file to the end of the response file without a 'header'.
  935. Append to the .RES file the "Above entries made by: user/date" with no carriage return
  936. Append to the .RES file the "user/date" with no carriage return
  937.  
  938. -- part contents for card part 54
  939. ----- text -----
  940. Add
  941. 3
  942. Add
  943.  
  944. -- part contents for card part 61
  945. ----- text -----
  946. Please wait...
  947. Verbose in process.
  948.  
  949. -- part contents for card part 73
  950. ----- text -----
  951. Untitled
  952. 100 meg:test
  953.  
  954. -- part contents for card part 75
  955. ----- text -----
  956. Please Wait...
  957. Changing label position
  958.  
  959. -- part contents for card part 78
  960. ----- text -----
  961. If last input contains ‚Äúasdfasdf‚Äù, branch to ‚Äú‚Äù  ‚Ä¢ TEST ‚Ä¢‚Ä¢ TEST ‚Ä¢
  962.  
  963. -- part contents for card part 87
  964. ----- text -----
  965.  Enter  Command #
  966.  
  967. -- part contents for card part 90
  968. ----- text -----
  969. 0
  970. 1
  971. 2
  972. 3
  973. 4
  974. 5
  975. 6
  976. 7
  977. 8
  978. 9
  979. 10
  980. 11
  981. 12
  982. 13
  983. 14
  984. 15
  985. 16
  986. 17
  987. 18
  988. 19
  989. 20
  990. 21
  991. 22
  992. 23
  993. 24
  994. 25
  995. 26
  996. 27
  997. 28
  998. 29
  999. 30
  1000. 31
  1001. 32
  1002. 33
  1003. 34
  1004. 35
  1005. 36
  1006. 37
  1007. 38
  1008. 39
  1009. 40
  1010. 41
  1011. 42
  1012. 43
  1013. 44
  1014. 45
  1015. 46
  1016.  
  1017. -- part contents for card part 122
  1018. ----- text -----
  1019. Action selected was ‚ÄúAdd‚Äù. Click on a line or click here to cancel.
  1020.  
  1021. -- part contents for card part 123
  1022. ----- text -----
  1023. Select the font name and size.
  1024. Warning: A line width must not 
  1025. exceed the width of the main window!!
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.